package com.lucky.common.mapper;


import com.lucky.common.pojo.po.AreaPO;
import com.lucky.common.pojo.vo.AreaVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AreaMapper extends com.baomidou.mybatisplus.core.mapper.BaseMapper<AreaPO> {
	
    @Select("select AREANAME text, AREACODE ID, UPPRCODE parent from m_dd_areacode t order by t.AREACODE asc")
    public List<AreaVO> queryAll();
    
}
